<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 路豪
  Date: 2021/12/22
  Time: 11:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/home.css">
    <script src="../js/jquery-3.5.0.js"></script>
    <script src="../js/common.js"></script>
</head>
<body>
<div>
    <jsp:include page="top.jsp"></jsp:include>
    <div class="middle">
        <div>
            <div>
                <div class="title">较新动态</div>
                <div class="content">
                    <div><img src="../img/m331.jpg" height="190" width="268"/></div>
                    <div>
<%--                        <c:forEach  items="${newsModels} "  var="model">--%>
<%--                        <div>--%>
<%--                            <div>${model.title}</div>--%>
<%--                            <div>${model.content}</div>--%>
<%--                        </div>--%>
<%--                        </c:forEach>--%>
    <c:forEach items="${newsModels}" var="model">
                            <div>
                                <div>${model.title}</div>
                                <div>${model.content}</div>
                            </div>
    </c:forEach>
<%--                            <div>--%>
<%--                                <div>日本较大抹茶餐饮连锁店登录伤害</div>--%>
<%--                                <div>日本较大抹茶餐饮连锁店登录伤害</div>--%>
<%--                            </div>--%>
                        </div>
                </div>
            </div>
            <div>
                <div class="title">产品展示</div>
                <div>
                    <div>
                        <div>
                            <img src="../img/12_38ve.jpg" height="300" width="300"/>
                        </div>
                        <div>
                            <div>炒饭</div>
                            <div>原料：大米，面条</div>
                        </div>
                    </div>
                    <div>
                        <div>
                            <img src="../img/12_38ve.jpg" height="300" width="300"/>
                        </div>
                        <div>
                            <div>炒饭5555555555555555555555555555555555555555555555</div>
                            <div>原料：大米，面条</div>
                        </div>
                    </div>

                </div>


            </div>
        </div>
    </div>
    <jsp:include page="foot.jsp"></jsp:include>

</div>

</body>
</html>
